package com.dodi.spring.profile;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class DevHelloService implements HelloService {

	@Value("tom")
	private String name;
	
	@Override
	public String sayHello() {

		return String.format("hello,I,m%s,this is a development environment!", name);
	}

}
